Procedure to create a customized Workflow in Dynamics NAV by creating new workflow events – Part 2

Introduction: In my previous blog I have mentioned the steps to be followed in the Dynamics NAV  development environment including creation of custom functions and the code to be written. In this blog, I will be giving the remaining steps to be followed in the Dynamics NAV client to create the custom workflow.

The link to my previous blog is as below:

https://tinamenezes.wordpress.com/2017/11/25/procedure-to-create-a-customized-workflow-in-dynamics-nav-by-creating-new-workflow-events-part-1/

Pre-Requisite:

Microsoft Dynamics NAV

Procedure:

  1. Table 1505 Workflow-Table Relations must have the following record:

image098 2. Table 1509 WF Event/Response Combination must have the following record:

image100

3. Table 1520 Workflow Event must have the following records:

image102

4. You need to set up the user who is going to approve approval requests.

Go to Approval User Setup and add the User who is going to Approve the Job records:

image112

5. Click on notification setup.

image114

6. Click on notification schedule to specify when the user receives notifications.

image116

7. Now go to the Dynamics NAV client and navigate to Workflows.

image104

The workflow Steps including events and responses are as follows:

Event 1: Send Job for Approval-Tina

image105

For Create an approval request for the record using approver type Approver and approver limit type Direct Approver add the Approver ID who will approve the record:

image107

Event 3: Approve Approval Request For Job-Tina

image108

Event 4: Reject Approval Request For Job-Tina

image110

The output will be as follows:

Output:

TINAMENEZES user

image118image120

Now  status changes to Pending Approval

image121

A notification will be created in the system after the job has been sent for approval.

image123

CAROL user approval

image125

Navigate to Requests to Approve.

image127image129image130

Status changed to released after the approval request is approved.

image132

Status changed to rejected after the approval request is rejected.

image134

This is the procedure to create a customized workflow by creating new events in Dynamics NAV.

Thanks for reading my blog!.

7 thoughts on “Procedure to create a customized Workflow in Dynamics NAV by creating new workflow events – Part 2”

  1. Hie. Thanks very much for the post on the topic. l followed it through, however l think l missed something along the way resulting in an error saying “No workflow enabled”, please help if you can.

    Like

Leave a comment